package com.pozu.new_retail.service;

import java.util.HashMap;
import java.util.List;

import com.pozu.new_retail.dao.model.Comment;
import com.pozu.new_retail.dao.vo.CommentMeVo;
import com.pozu.new_retail.dao.vo.CommentVo;

public interface CommentService {
	
	public List<CommentMeVo> queryCommentMeByMap(HashMap<String, Object> map);
	
	public int queryCountByMap(HashMap<String, Object> map);
	
	public List<CommentVo> queryByMap(HashMap<String, Object> map);
	
	public Comment queryByCommentId(long commentId);
	
	public Comment saveComment(Comment comment);
	
	public int batchInsert(List<Comment> comments);
	
	public int updateComment(Comment comment);
	
	public int queryMyCountByUserId(HashMap<String, Object> map);
	
}
